package com.project.lx.baseproject.api;


import com.project.lx.baseproject.ImageInfo;

import io.reactivex.Observable;
import okhttp3.MultipartBody;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;

/**
 * @author: X_Meteor
 * @description: 类描述
 * @version: V_1.0.0
 * @date: 2017/4/7 0007 13:56
 * @company:
 * @email: lx802315@163.com
 */
public interface Api {

    @POST("upload/api/uploadPic.do ")
    @Multipart
    Observable<ImageInfo> uploadFile(@Part MultipartBody.Part file);

}
